
package com.sec.android.app.myfiles.module.suggestion;

import com.sec.android.app.myfiles.provider.DbTableInfo;

public class SuggestionDbTableInfo extends DbTableInfo {

    private static SuggestionDbTableInfo mInstance = null;

    public static DbTableInfo getInstance() {
        if (mInstance == null) {
            mInstance = new SuggestionDbTableInfo();
        }
        return mInstance;
    }

    private SuggestionDbTableInfo() {
        mTableColumn.add(new DB_Column(COLUMN_ID.ID, "_id", "integer PRIMARY KEY"));
        mTableColumn.add(new DB_Column(COLUMN_ID.PATH, "path", "text"));
        mTableColumn.add(new DB_Column(COLUMN_ID.NAME, "name", "text"));
        mTableColumn.add(new DB_Column(COLUMN_ID.DATE, "date", "integer"));
        mTableColumn.add(new DB_Column(COLUMN_ID.STORAGE_TYPE, "storage_type", "integer"));
        mTableColumn.add(new DB_Column(COLUMN_ID.MIME_TYPE, "mime_type", "text"));
    }

    @Override
    public String getTableName() {
        final String tableName = "suggestion";
        return tableName;
    }

    @Override
    public boolean isRealDb() {
        return true;
    }
}
